#!/bin/bash
PTH="/home/derc/Users/LiuHuanHuan/result"
cd $PTH
for i in *.json
do 
mongoimport  --host 127.0.0.1:27027 --jsonArray -d media -c video  --file $i --type json
done
exit
